/**
 * 上海中赢金融信息服务有限公司
 * Copyright (c) 2016-2026 hmc,Inc.All Rights Reserved.
 */
package com.sys.midware.rdb.datasource;

import javax.sql.DataSource;

/**
 * 数据源节点vo
 * 
 * @author mobing@b5m.com
 * @date 2014-12--22
 * @version 1.0
 */
public class DataSourceCluster {

    /** 该节点数据源key */
    private String key;

    /** 节点类型 master,slaver */
    private String nodeType;

    /** 节点datasource */
    private DataSource dataSource;

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public DataSource getDataSource() {
        return dataSource;
    }

    public void setDataSource(DataSource dataSource) {
        this.dataSource = dataSource;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    

}